package com.hsc.www.exchangeType.direct1;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Config {

    public static final String QUEUE_NAME="userQueue";

    @Bean
    public Queue queue() {
        return new Queue(QUEUE_NAME);
    }



}